const mysql = require('mysql');
const conn = mysql.createPool({
    host: 'localhost',
    port: 8023,
    user: 'root',
    password: '123456',
    database: 'test',
    timezone: 'GMT%2B8' // 解决时区时间统一的问题
});


//conn.query('select * from user_tel', function (error, results, fields) {
 //     if (error) throw error;
  //    console.log(results);
  //});
const a = "1";
  module.exports = {
        conn,a
    }